package com.cdtye.shuoh.domain.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 设备位置表
 * @author WANGZHONGWANG
 * @date 2023-03-08
 */
@ApiModel("设备位置表")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("IOT_DEVICE_LOCATION")
public class DeviceLocation extends BaseEntity {
    
    @ApiModelProperty(value = "设备标识")
    private String deviceIdentification;

    @ApiModelProperty(value = "纬度")
    private double latitude;

    @ApiModelProperty(value = "经度")
    private double longitude;

    @ApiModelProperty(value = "位置名称")
    private String fullName;

    @ApiModelProperty(value = "省,直辖市编码")
    private String provinceCode;

    @ApiModelProperty(value = "市编码")
    private String cityCode;

    @ApiModelProperty(value = "区县")
    private String regionCode;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "逻辑删除")
    private String delFlag;

    @TableField(exist = false)
    private String deviceName;

}